<template>
    <div class="page" :style="{ marginTop: `${top}px`, marginBottom: `${bottom}px` }">
        <slot></slot>
    </div>
</template>

<script lang="ts" setup>
import { reactive, ref } from "vue";
withDefaults(defineProps<{
    top: number,
    bottom: number
}>(), {
    top: 45,
    bottom: 50
})


</script>

<style lang="less" scoped>
.page {
    width: 1200px;
    margin: 0 auto;
}
</style>